package com.cinema.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("session")
public class Session {
    @TableId(value = "session_id", type = IdType.AUTO)
    private Long sessionId;
    private Long hallId;
    private String languageVersion;
    private Long movieId;
    private String playTime;
    private String endTime;
    private String deadline;
    private Date sessionDate;
    private BigDecimal sessionPrice;
    private String sessionTips;
    private String sessionSeats;
    private Integer seatNums;
    private Integer sallNums;
    private Boolean delState;
    @TableField(exist = false)
    private Hall hall;
    @TableField(exist = false)
    private Movie movie;
}